-- GENERATED SPELL FOR [Wyrmcult Broodling] --


function spell0_21811(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(34083,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21811', 3000, 1)
end

function Sorts_21811(pUnit, Event)
local choix_sorts_21811 = math.random(0, 0)
if choix_sorts_21811 == 0 then
pUnit:RegisterEvent('spell0_21811', 1, 1)
end
end

function mob21811_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21811', math.random(1500, 3000), 1)
end

function mob21811_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21811_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21811_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21811, 1, 'mob21811_Action')
RegisterUnitEvent(21811, 2, 'mob21811_Leave')
RegisterUnitEvent(21811, 3, 'mob21811_Kill')
RegisterUnitEvent(21811, 4, 'mob21811_Die')
